agTosendGet
List
/ag_tosend
Usage and SDK Samples
curl -X get "http://myastro-omnizya.c9users.io/api/index.php/ag_tosend?exclude=&include=&order=&page=&transform=&columns=&filter[]=&satisfy="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .Ag_tosendApi;
import java.io.File;
import java.util.*;
public class Ag_tosendApiExample {
public static void main(String[] args) {
Ag_tosendApi apiInstance = new Ag_tosendApi();
String exclude = exclude_example; // String | One or more related entities (comma separated).
String include = include_example; // String | One or more related entities (comma separated).
String order = order_example; // String | Column you want to sort on and the sort direction (comma separated). Example: id,desc
String page = page_example; // String | Page number and page size (comma separated). NB: You cannot use "page" without "order"! Example: 1,10
Boolean transform = true; // Boolean | Transform the records to object format. NB: This can also be done client-side in JavaScript!
String columns = columns_example; // String | The table columns you want to retrieve (comma separated). Example: posts.*,categories.name
array[String] filter[] = ; // array[String] | Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1
String satisfy = satisfy_example; // String | Should all filters match (default)? Or any?
try {
array[inline_response_200] result = apiInstance.agTosendGet(exclude, include, order, page, transform, columns, filter[], satisfy);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling Ag_tosendApi#agTosendGet");
e.printStackTrace();
}
}
}
import .Ag_tosendApi;
public class Ag_tosendApiExample {
public static void main(String[] args) {
Ag_tosendApi apiInstance = new Ag_tosendApi();
String exclude = exclude_example; // String | One or more related entities (comma separated).
String include = include_example; // String | One or more related entities (comma separated).
String order = order_example; // String | Column you want to sort on and the sort direction (comma separated). Example: id,desc
String page = page_example; // String | Page number and page size (comma separated). NB: You cannot use "page" without "order"! Example: 1,10
Boolean transform = true; // Boolean | Transform the records to object format. NB: This can also be done client-side in JavaScript!
String columns = columns_example; // String | The table columns you want to retrieve (comma separated). Example: posts.*,categories.name
array[String] filter[] = ; // array[String] | Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1
String satisfy = satisfy_example; // String | Should all filters match (default)? Or any?
try {
array[inline_response_200] result = apiInstance.agTosendGet(exclude, include, order, page, transform, columns, filter[], satisfy);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling Ag_tosendApi#agTosendGet");
e.printStackTrace();
}
}
}
String *exclude = exclude_example; // One or more related entities (comma separated). (optional)
String *include = include_example; // One or more related entities (comma separated). (optional)
String *order = order_example; // Column you want to sort on and the sort direction (comma separated). Example: id,desc (optional)
String *page = page_example; // Page number and page size (comma separated). NB: You cannot use "page" without "order"! Example: 1,10 (optional)
Boolean *transform = true; // Transform the records to object format. NB: This can also be done client-side in JavaScript! (optional)
String *columns = columns_example; // The table columns you want to retrieve (comma separated). Example: posts.*,categories.name (optional)
array[String] *filter[] = ; // Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1 (optional)
String *satisfy = satisfy_example; // Should all filters match (default)? Or any? (optional)
Ag_tosendApi *apiInstance = [[Ag_tosendApi alloc] init];
// List
[apiInstance agTosendGetWith:exclude
include:include
order:order
page:page
transform:transform
columns:columns
filter[]:filter[]
satisfy:satisfy
completionHandler: ^(array[inline_response_200] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var = require('');
var api = new .Ag_tosendApi()
var opts = {
'exclude': exclude_example, // {String} One or more related entities (comma separated).
'include': include_example, // {String} One or more related entities (comma separated).
'order': order_example, // {String} Column you want to sort on and the sort direction (comma separated). Example: id,desc
'page': page_example, // {String} Page number and page size (comma separated). NB: You cannot use "page" without "order"! Example: 1,10
'transform': true, // {Boolean} Transform the records to object format. NB: This can also be done client-side in JavaScript!
'columns': columns_example, // {String} The table columns you want to retrieve (comma separated). Example: posts.*,categories.name
'filter[]': , // {array[String]} Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1
'satisfy': satisfy_example // {String} Should all filters match (default)? Or any?
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.agTosendGet(opts, callback);
using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;
namespace Example
{
public class agTosendGetExample
{
public void main()
{
var apiInstance = new Ag_tosendApi();
var exclude = exclude_example; // String | One or more related entities (comma separated). (optional)
var include = include_example; // String | One or more related entities (comma separated). (optional)
var order = order_example; // String | Column you want to sort on and the sort direction (comma separated). Example: id,desc (optional)
var page = page_example; // String | Page number and page size (comma separated). NB: You cannot use "page" without "order"! Example: 1,10 (optional)
var transform = true; // Boolean | Transform the records to object format. NB: This can also be done client-side in JavaScript! (optional)
var columns = columns_example; // String | The table columns you want to retrieve (comma separated). Example: posts.*,categories.name (optional)
var filter[] = new array[String](); // array[String] | Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1 (optional)
var satisfy = satisfy_example; // String | Should all filters match (default)? Or any? (optional)
try
{
// List
array[inline_response_200] result = apiInstance.agTosendGet(exclude, include, order, page, transform, columns, filter[], satisfy);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling Ag_tosendApi.agTosendGet: " + e.Message );
}
}
}
}
agTosendGet($exclude, $include, $order, $page, $transform, $columns, $filter[], $satisfy);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Ag_tosendApi->agTosendGet: ', $e->getMessage(), PHP_EOL;
}
Parameters
| Name | Description |
|---|---|
| exclude | |
| include | |
| order | |
| page | |
| transform | |
| columns | |
| filter[] | |
| satisfy |